import { CrumbsT, UserInfo, setAutoId } from "../dictionary/dictionary"; // 字典
// 面包屑改导航
export let CrumbsActive = (active) => ({
  type: CrumbsT,
  active,
});

// 登陆获获取用户信息
export let UserActive = (data) => ({
  type: UserInfo,
  data,
});

// 自动登录
export let setAuto = (data) => ({
  type: setAutoId,
  data
})